package com.spring.origin;

/**
 * 采用工厂类创建对象
 */
public class DaoFactory {

    public  static UserDao getDao() {
        return new UserDaoImpl();
    }
}
